package com.itheima.ZuoYe01;
/*
测试类
 */
public class Demo {
    public static void main(String[] args) {
        Phone p1 = new Phone("小米","黑色",4399.9);
        Phone p2 = new Phone("华为","蓝色",5399.9);
        System.out.println(p1);
        System.out.println(p2);
    }


}
